typedef struct {
int x ;
int y ;
BITMAP * img_coins;
int n; //si n==1 on dessine le coin 
}coins;


typedef struct {
int x;
int y;
BITMAP * img_right[3];
BITMAP * img_left[3];
BITMAP * img_fix[3];
int direction;//0 haut,1 bas , 2 droite
int score;
}Personnage;

typedef struct {
int x;
int y;
BITMAP * img_obstacle;
int n;//si n==1 on dessine l'obstacle
}obstacle;

void chargement_image_personnage(Personnage *p);
void chargement_coins(coins *c1);
void chargement_obstacle(obstacle *o);

